<?php
	//require_once __DIR__."/../Models/sponsors.php";
	
	use Symfony\Component\HttpFoundation\Request;
	use Symfony\Component\HttpFoundation\Response;

	//$sponsors_model = new Models\Sponsors($app);
	$sponsors_model = 'new Models\Sponsors($app)';
	$sponsors = $app['controllers_factory'];


	$sponsors->get('/', function() use ($app, $sponsors_model) {
		return "sponsors";
	});

	$sponsors->get('/{name}', function($name) use ($app, $sponsors_model) {
		return "sponsors";
			
	});


	return $sponsors; 
?>